﻿@namespace MudBlazor.Docs.Examples


<MudTabs Elevation="1" @bind-ActivePanelIndex="activeIndex">
    <MudTabPanel Text="Item One" ID='"pn_one"'>
        <MudText>Item One</MudText>
    </MudTabPanel>
    <MudTabPanel Text="Item Two" ID='"pn_two"'>
        <MudText>Item Two</MudText>
    </MudTabPanel>
    <MudTabPanel Text="Item Three" ID='"pn_three"'>
        <MudText>Item Three</MudText>
    </MudTabPanel>
</MudTabs>
<MudText>@($"Active Index: {activeIndex}")</MudText>

@code
 { 
    int activeIndex = 0;
}
